package cn.kgc.hotel.dao;


import cn.kgc.hotel.entity.Param.RoomParam;
import cn.kgc.hotel.entity.Room;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoomsMapper {
    List<Room> showRoom(Integer roomNums, String roomType, String roomFloor, String roomState);

    int addRoom(RoomParam roomParam);
    int addRoomDate(RoomParam roomParam);

    int updateRoom(RoomParam roomParam);
    int updateRoomDate(RoomParam roomParam);

    int deleteRoom(RoomParam roomParam);
    int deleteRoomDate(RoomParam roomParam);
}
